package com.wangmei.mapper;


import java.util.List;

import com.wangmei.model.Productkuid;
import com.wangmei.model.ProductkuidExample;
import com.wangmei.pojo.ProductkuidPojo;
import org.apache.ibatis.annotations.Param;

public interface ProductkuidMapper {
    int countByExample(ProductkuidExample example);

    int deleteByExample(ProductkuidExample example);

    int deleteByPrimaryKey(Integer kuid);

    int insert(Productkuid record);

    int insertSelective(Productkuid record);

    List<Productkuid> selectByExample(ProductkuidExample example);

    Productkuid selectByPrimaryKey(Integer kuid);

    int updateByExampleSelective(@Param("record") Productkuid record, @Param("example") ProductkuidExample example);

    int updateByExample(@Param("record") Productkuid record, @Param("example") ProductkuidExample example);

    int updateByPrimaryKeySelective(Productkuid record);

    int updateByPrimaryKey(Productkuid record);

    int getProductStoreByPid(Integer pid);

    Productkuid getProductStoreByPidVid(@Param("pid") Integer pid,@Param("vid") Integer vid);

    List<ProductkuidPojo> getProductkuidPojo(Integer pid);

    int updateProductkuid(List<Productkuid> productkuidList);

}